package cn.iocoder.yudao.module.ems.controller.admin.eqtype.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;

/**
* 设备类别 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class EqTypeBaseVO {

    @ApiModelProperty(value = "类别名称", required = true)
    @NotNull(message = "类别名称不能为空")
    private String name;

    @ApiModelProperty(value = "父类别id", required = true)
    @NotNull(message = "父类别id不能为空")
    private Long parentId;

    @ApiModelProperty(value = "显示顺序", required = true)
    @NotNull(message = "显示顺序不能为空")
    private Integer sort;

    @ApiModelProperty(value = "负责人")
    private Long leaderUserId;

    @ApiModelProperty(value = "类别状态", required = true)
    @NotNull(message = "类别状态不能为空")
    private Integer status;

}
